package com.kgcx.common.client.opc.pojo;

import io.swagger.annotations.ApiModelProperty;

import java.sql.Timestamp;

/**
 * MileageRecord 里程记录实体类
 *
 * @author:zml
 * @date:2017/11/16
 */
public class MileageRecord {

    @ApiModelProperty(value="主键ID",name="kid",example="1")
    private Long kid;

    @ApiModelProperty(value="订单编号【必填】",name="orderId", required=true)
    private String orderId;
    @ApiModelProperty(value="开始里程【上传开始里程时必填】",name="startMileage")
    private Long startMileage;
    @ApiModelProperty(value="结束里程【上传结束里程时必填】",name="endMileage")
    private Long endMileage;
    @ApiModelProperty(value="关联车辆id【必填】",name="carId", required=true)
    private String carId;
    @ApiModelProperty(value="上传司机id【必填】",name="driverId")
    private String driverId;
    @ApiModelProperty(value="创建时间",name="createTime")
    private Timestamp createTime;
    @ApiModelProperty(value=" 状态 101:启用 102:禁用 103:删除 ",name="status")
    private Integer status;
    private Long address;
    private String vehicleNo;
    private Long tatalMile;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_price_caculation_price.kid
     *
     * @return the value of t_price_caculation_price.kid
     *
     * @mbggenerated Fri Nov 10 15:12:17 CST 2017
     */
    public Long getKid() {
        return kid;
    }
    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_mileage_record.kid
     *
     * @param kid the value for t_mileage_record.kid
     *
     * @mbggenerated Wed Nov 15 11:00:09 CST 2017
     */
    public void setKid(Long kid) {
        this.kid = kid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_mileage_record.order_id
     *
     * @return the value of t_mileage_record.order_id
     *
     * @mbggenerated Wed Nov 15 11:00:09 CST 2017
     */
    public String getOrderId() {
        return orderId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_mileage_record.order_id
     *
     * @param orderId the value for t_mileage_record.order_id
     *
     * @mbggenerated Wed Nov 15 11:00:09 CST 2017
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_mileage_record.start_mileage
     *
     * @return the value of t_mileage_record.start_mileage
     *
     * @mbggenerated Wed Nov 15 11:00:09 CST 2017
     */
    public Long getStartMileage() {
        return startMileage;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_mileage_record.start_mileage
     *
     * @param startMileage the value for t_mileage_record.start_mileage
     *
     * @mbggenerated Wed Nov 15 11:00:09 CST 2017
     */
    public void setStartMileage(Long startMileage) {
        this.startMileage = startMileage;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_mileage_record.end_mileage
     *
     * @return the value of t_mileage_record.end_mileage
     *
     * @mbggenerated Wed Nov 15 11:00:09 CST 2017
     */
    public Long getEndMileage() {
        return endMileage;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_mileage_record.end_mileage
     *
     * @param endMileage the value for t_mileage_record.end_mileage
     *
     * @mbggenerated Wed Nov 15 11:00:09 CST 2017
     */
    public void setEndMileage(Long endMileage) {
        this.endMileage = endMileage;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_mileage_record.car_id
     *
     * @return the value of t_mileage_record.car_id
     *
     * @mbggenerated Wed Nov 15 11:00:09 CST 2017
     */
    public String getCarId() {
        return carId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_mileage_record.car_id
     *
     * @param carId the value for t_mileage_record.car_id
     *
     * @mbggenerated Wed Nov 15 11:00:09 CST 2017
     */
    public void setCarId(String carId) {
        this.carId = carId == null ? null : carId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_mileage_record.driver_id
     *
     * @return the value of t_mileage_record.driver_id
     *
     * @mbggenerated Wed Nov 15 11:00:09 CST 2017
     */
    public String getDriverId() {
        return driverId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_mileage_record.driver_id
     *
     * @param driverId the value for t_mileage_record.driver_id
     *
     * @mbggenerated Wed Nov 15 11:00:09 CST 2017
     */
    public void setDriverId(String driverId) {
        this.driverId = driverId == null ? null : driverId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_mileage_record.create_time
     *
     * @return the value of t_mileage_record.create_time
     *
     * @mbggenerated Wed Nov 15 11:00:09 CST 2017
     */
    public Timestamp getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_mileage_record.create_time
     *
     * @param createTime the value for t_mileage_record.create_time
     *
     * @mbggenerated Wed Nov 15 11:00:09 CST 2017
     */
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getAddress() {
        return address;
    }

    public void setAddress(Long address) {
        this.address = address;
    }

    public String getVehicleNo() {
        return vehicleNo;
    }

    public void setVehicleNo(String vehicleNo) {
        this.vehicleNo = vehicleNo;
    }

    public Long getTatalMile() {
        return tatalMile;
    }

    public void setTatalMile(Long tatalMile) {
        this.tatalMile = tatalMile;
    }
}